package com.letoken.platform.repo.admin.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 加速卡配置
 * </p>
 *
 * @author 作者
 * @since 2023-06-19
 */
@Getter
@Setter
@TableName("admin_card_config")
@ApiModel(value = "AdminCardConfig对象", description = "加速卡配置")
public class AdminCardConfig extends Model<AdminCardConfig> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @ApiModelProperty("个人店")
    @TableField("personal")
    private Integer personal;

    @ApiModelProperty("个体工商户")
    @TableField("merchant")
    private Integer merchant;
    @ApiModelProperty("加速时间  分钟 整数")
    @TableField("acceleration_time")
    private Integer accelerationTime;
    @ApiModelProperty("期限")
    @TableField("shelf_life")
    private Integer shelfLife;

    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
